package com.patrol.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * risk_point
 * @author zsc
 */
@Data
@ApiModel(description = "RiskPoint")
@TableName("risk_point")
public class RiskPoint implements Serializable {

    @ApiModelProperty(value = "风险点编号")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "风险点名称")
    private String name;

    @ApiModelProperty(value = "纬度")
    private Double latitudeX;

    @ApiModelProperty(value = "经度")
    private Double longitudeY;

    @ApiModelProperty(value = "风险等级")
    private String status;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer isDeleted;
}
